package edu.hrbu.trade01.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 徐登宇
 */
@Controller
@Slf4j
public class TestController {

    @RequestMapping("/test1")
    public String test1(Model model) {
        model.addAttribute("demo", "2131231");
        return "1";
    }

}
